package com.zretc.dao;

import com.zretc.entity.Order;
import com.zretc.entity.Track;
import com.zretc.entity.Type;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TrackMapper {
    /**
     * 
     * @param houseId
     * @return
     */
    List<Track> findByHouseIdOrder(String houseId);

    /**
     *根据仓库ID查询仓库下的物品
     * @param  params
     * @return
     */
    List<Order> findByType(Map<String,String>  params);

    /**
     * 出库操作
     * @param params
     * @return
     */
    int update(Map<String,String>  params);



}
